﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BesAsm.Stormwater.HspfCore;

namespace BesAsm.Stormwater.HspfResults
{
  public class L61Fluxes
  {
    public L61Fluxes(SegmentType segmentType)
    {
      _segmentType = segmentType;
    }

    private SegmentType _segmentType;
    private double _supy, _suro, _ifwo, _agwo, _pero, _igwi;

    public double Supy
    {
      get { return _supy; }
      set { _supy = value; }
    }
    public double Suro
    {
      get { return _suro; }
      set { _suro = value; }
    }
    public double Ifwo
    {
      get
      {
        return _ifwo;
      }
      set
      {
        if (_segmentType != SegmentType.Perland)
          throw new ArgumentException();
        _ifwo = value;
      }
    }
    public double Agwo
    {
      get
      {        
        return _agwo;
      }
      set
      {
        if (_segmentType != SegmentType.Perland)
          throw new ArgumentException();
        _agwo = value;
      }
    }
    public double Pero
    {
      get
      {        
        return _pero;
      }
      set
      {
        _pero = value;
      }
    }
    public double Igwi
    {
      get
      {
        return _igwi;
      }
      set
      {
        _igwi = value;
      }
    }
  }
}
